<%@page isELIgnored="false" import="java.net.*" contentType="text/html; charset=UTF-8" %>
<%@taglib prefix="tiles" uri="struts-tiles" %>
<%@taglib prefix="html" uri="struts-html" %>
<%@taglib prefix="bean" uri="struts-bean" %>
<%@taglib prefix="c" uri="jstl" %>
<%@taglib prefix="fn" uri="jstl-fn" %>
					<div id="bodyContent">
                                            <h1>Crear Flujo de autorizaci&oacute;n</h1>
						
						<html:form action='/FlujosAutAdd' method='post'>
						<html:hidden property="catalogoId" value="17"/>
						<html:hidden property="operation" value="1"/>
                                                <div onclick="location.href='${URLBase}FlujosAutorizacion.do';" style="display: inline; color: blue; font-size: 12px;" onmouseover="this.style.textDecoration='underline';this.style.cursor='pointer';" onmouseout="this.style.textDecoration='none';this.style.cursor='default';" >Flujos de Autorizaci&oacute;n</div><div style="display: inline; color: black; font-size: 12px;" > > </div>
						<div style="display: inline; color: black; font-size: 12px;"  >Crear Nuevo Flujo de autorizaci&oacute;n</div>
						<br/>
						<br/>
						<center>
						<div class='errors'>
						<html:errors/>
						<br/>
						${UserLogin.messageError}
						</div>
						
						<table class="TablaCatalogosNuevoTipoCuenta">
							<thead>
								<tr>
									<th>
										Nuevo Flujo
									</th>
								</tr>
							</thead>
							<tr>
								<td>
									<br/>
									<table class='TablaCatalogosFields' border="0">
										<tr>
											<td class='TDLabel'>
												Nombre:
											</td>
											<td class='TDField'>
												<html:text property="campo1" styleClass='TextField' />
											</td>
										</tr>
										<tr>
											<td class='TDLabel'>
												Prioridad:
											</td>
											<td class='TDField'>
												<html:text property="campoInt1" styleClass='TextField' value="" />
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
                                                <table class="TablaCatalogosNuevoTipoCuenta">
                                                    <thead>
                                                        <tr>
                                                            <th colspan="3">
                                                                Roles
                                                            </th>
                                                        </tr>
                                                    </thead>
                                                        <tr><td colspan="3">&nbsp;</td></tr>
                                                    <c:forEach items="${Roles}" var="rol">
                                                        <tr>
                                                            <td><html:hidden property="campoIntArr1" value="${rol.cveRole}" /></td>
                                                            <td>${rol.nombre}</td>
                                                            <td><html:text property="campoIntArr2" styleClass='TextField' value="" /></td>
                                                        </tr>
                                                    </c:forEach>
                                                        <tr><td colspan="3">&nbsp;</td></tr>
                                                    <tr>
                                                        <td class="TDButton" colspan="3">
                                                            <input class="ButtonSubmit" type="submit" value="Crear" />
                                                        </td>
                                                    </tr>
                                                </table>
						</center>
						</html:form>
					</div>
					<div id="footContent"></div>